package org.jeecg.modules.product.job.ticket.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 电子作业票验收
 * @Author: jeecg-boot
 * @Date:   2024-09-03
 * @Version: V1.0
 */
@Data
@TableName("tb_job_ticket_acceptance_check_record")
@Schema( description="电子作业票验收")
public class TbJobTicketAcceptanceCheckRecord implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private String id;
	/**创建人*/
    @Schema(description = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建日期")
    private Date createTime;
	/**更新人*/
    @Schema(description = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @Schema(description = "所属部门")
    private String sysOrgCode;
	/**验收角色*/
	@Excel(name = "验收角色", width = 15)
    @Schema(description = "验收角色")
    private String acceptanceCheckRole;
	/**验收人*/
	@Excel(name = "验收人", width = 15)
    @Schema(description = "验收人")
    private String acceptanceCheckMan;
	/**验收时间*/
	@Excel(name = "验收时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "验收时间")
    private Date acceptanceCheckTime;
	/**验收意见*/
	@Excel(name = "验收意见", width = 15)
    @Schema(description = "验收意见")
    private String idea;
	/**是否现场验收*/
	@Excel(name = "是否现场验收", width = 15)
    @Dict(dicCode = "yn")
    @Schema(description = "是否现场验收")
    private String isNotScene;
	/**验收坐标*/
	@Excel(name = "验收坐标", width = 15)
    @Schema(description = "验收坐标")
    private String coordinate;
	/**状态*/
	@Excel(name = "状态", width = 15)
    @Dict(dicCode = "normalOrStop")
    @Schema(description = "状态")
    private String deleted;
	/**租户id*/
	@Excel(name = "租户id", width = 15)
    @Schema(description = "租户id")
    private String tenantId;
	/**作业票id*/
    @Schema(description = "作业票id")
    private String jobTicketId;
	/**排序*/
	@Excel(name = "排序", width = 15)
    @Schema(description = "排序")
    private Integer sequence;
}
